package com.yunxi.finance.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class VehiclePriceQueryReqVO implements Serializable {
    @ApiModelProperty(value = "渠道商编码")
    private String partnerCode;
    @ApiModelProperty(value = "产品编码")
    private String productCode;
    @ApiModelProperty(value = "选装包")
    private String customPackCodes;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "开始日期")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "结束日期")
    private Date endDate;

}
